#
# Be sure to run `pod lib lint podIBTestLibrary.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'IBRoute'
  s.version          = '2.0.0'
  s.summary          = 'this is a base library for iblue'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://git.oschina.net/atomix/IBRoute.git'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'atomix' => '512670238@163.com' }
  s.source           = { :git => 'https://git.oschina.net/atomix/IBRoute.git', :tag => s.version.to_s }
  #s.source           = { :git => 'https://git.oschina.net/atomix/IBRoute.git'}
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '8.0'

  #s.public_header_files = 'baseLib/*.h'
  s.source_files = 'baseLib/*.{h,m}'
  #s.source_files = "baseLib/**/*.{h,m}"
  #s.resource = "baseLib/images.bundle"
  #s.resource = "baseLib/**/*.{xcassets,storyboard,xib,plist,bundle}"
  s.resource = "baseLib/Resource/*.{xcassets,plist,bundle}"
  
  s.resource_bundles = {
    #'podIBTestLibrary' => ['podIBTestLibrary/Assets/*.png']
    #'MyFramework' => ['baseLib/*.{storyboard,xib,xcassets,json,imageset,png}']
  }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'

#  s.dependency 'MJRefresh'
  #s.dependency 'MBProgressHUD'
  s.dependency 'IBCommon'
  #s.dependency 'IBCommon', :git => 'https://git.oschina.net/atomix/IBCommon.git'
  #s.dependency 'IBCommon', :git => 'git@git.oschina.net:atomix/IBCommon.git'
  #s.dependency 'IBCommon', :podspec => 'https://git.oschina.net/atomix/IBCommon/IBCommon.podspec'
  #s.dependency 'IBCommon', :podspec => 'https://10.200.179.148:443/svn/DilanApp/IOS/trunk/IBCommon/IBCommon.podspec'
  #s.dependency 'IBCommon', :podspec => '/Users/xielida/Desktop/proj/own_server_test/svn_test/Common/IBCommon/IBCommon.podspec'
  #s.dependency 'AAAFramework'
  #s.dependency 'AAActivityAction'
  #s.dependency 'AABlurAlertController'
  #s.dependency 'MBProgressHUD', :git => 'git@bitbucket.org:boolalsofware/bstiledimageview.git'
  #s.dependency 'IBCommon', :svn => 'https://10.200.179.148:443/svn/DilanApp/IOS/trunk/IBCommon'
  #s.dependency 'IBCommon', :path => '~/Desktop/proj/own server test/svn test/Common/IBCommon'
  #'~/Desktop/proj/own server test/svn test/Common'

  #s.dependency 'IBCommon', :svn => 'https://dev_xielida@10.200.179.148:443/svn/DilanApp/IOS/trunk/IBCommon'

  s.subspec 'moduleA' do |ss|
    #ss.source_files = 'baseLib/moduleA/*.{h,m,xib,storyboard}'
    ss.source_files = 'baseLib/moduleA/*'
  end

  s.subspec 'moduleB' do |ss|
    #ss.source_files = 'baseLib/moduleB/*.{h,m,xib,storyboard}'
    ss.source_files = 'baseLib/moduleB/*'
  end
end
